* lisp/progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Aug 2011 15:32:39 +0000 (11:32 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Aug 2011 15:32:39 +0000 (11:32 -0400)
commit1fee65930ce673d24cd99e281774bbc319d9c7a4
tree629750083f83a8599af457f1d7210ba6cd923873
parente6c5ad70a02ab6f1dd40954c18a2469966437ba3
* lisp/progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
New function.
(js--regexp-literal, js-syntax-propertize-function): Remove.
(js-mode): Use js-syntax-propertize to handle multilines.
(js-mode-map): Don't rebind electric keys.
(js-insert-and-indent): Remove.
(js-mode): Setup electric-layout and electric-indent instead.
lisp/ChangeLog
lisp/progmodes/js.el